package com.project.music.bean;

import io.swagger.annotations.ApiParam;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * 收藏
 */

@NoArgsConstructor
@AllArgsConstructor
@Data
public class Collect implements Serializable {
    //主键
    @ApiParam("收藏ID")
    private int id;
    //用户id
    @ApiParam("所属用户ID")
    private int userId;
    //种类(歌曲或歌单)
    @ApiParam("收藏种类(歌曲或歌单)")
    private byte type;
    //歌曲id
    @ApiParam("所属歌曲ID")
    private Integer songId;
    //歌单id
    @ApiParam("所属歌单ID")
    private Integer songListId;
    //创建时间
    @ApiParam("创建时间")
    private Date createTime;
}
